package com.tianji.learning.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "笔记信息")
public class NoteVO {
    @ApiModelProperty(value = "主键，笔记的id")
    private Long id;

    @ApiModelProperty("笔记内容")
    private String content;

    @ApiModelProperty("记录笔记时视频播放的时间点")
    private Integer noteMoment;

    @ApiModelProperty("是否为隐私笔记，默认为false")
    private Boolean isPrivate;

    @ApiModelProperty("是否是采集的笔记")
    private Boolean isGathered;

    @ApiModelProperty("采集作者id")
    private Long authorId;

    @ApiModelProperty("采集作者名字")
    private String authorName;

    @ApiModelProperty("采集作者头像")
    private String authorIcon;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
